import { defineConfig } from 'vite';
import viteDistZip from '@softwise/vite-plugin-dist-zip';

// 注意：这是一个测试配置，不要在生产环境中使用真实的凭据
export default defineConfig({
  plugins: [
    viteDistZip({
      fileName: 'dist.zip',
      sourceDir: 'dist',
      outputDir: 'dist',
      oss: {
        region: 'oss-cn-hangzhou',
        accessKeyId: 'test-access-key-id',
        accessKeySecret: 'test-access-key-secret',
        bucket: 'test-bucket'
      }
    })
  ]
});